﻿#region Librerias

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

#endregion


namespace ESF.General.Entity
{
	[Serializable]
	[DataContract]
	public class Couple<A, B>
	{
		[DataMember]
		public A Key;


		[DataMember]
		public B Value;


		#region Constructor

		public Couple ()
		{
		}


		public Couple (A pKey, B pValue)
		{
			Key = pKey;
			Value = pValue;
		}

		#endregion


		#region Funciones

		public override string ToString()
		{
			return string.Format ("{0}: {1}", Key, Value);
		}

		#endregion
	}
}
